package com.blkj.iam.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.blkj.iam.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 系统租户表
 * @Author: jeecg-boot
 * @Date: 2025-04-10
 * @Version: V1.0
 */
@Data
@TableName("sys_tenant")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "系统租户表")
public class Tenant extends BaseEntity {

    /**
     * 租户名称
     */
    @Schema(description = "租户名称")
    private String name;
    /**
     * 状态 1正常 0冻结
     */
    @Schema(description = "状态 1正常 0冻结")
    private Integer status;
    /**
     * 创建者ID
     */
    @Schema(description = "创建者ID")
    private Long createBy;
    /**
     * 更新者ID
     */
    @Schema(description = "更新者ID")
    private Long updateBy;
    /**
     * 客户端ID
     */
    @Schema(description = "客户端ID")
    private Long clientId;
    /**
     * 所属应用
     */
    @Schema(description = "所属应用")
    private String appName;

}
